<script setup>
  import {
    onLaunch,
    onShow,
    onHide
  } from '@dcloudio/uni-app'


  import userstore from './store/user';
  const {
    update
  } = userstore();

  onLaunch(() => {
    console.log('应用启动')
    update((islogin) => {
      console.log('用户登录状态', islogin);
    });
  })
</script>
<style>
  /*每个页面公共css */
</style>